<?php

    if (!file_exists("./config.php")) {
        @header("Location: ./install.php");
        die;
    }

    include("./global_conf.php");
    require_once($site->libdir."/installib.php");
    include("./include/install_header.inc.php");
    global $admin;
?>
<div id="page">
    <div id="content">
        Installation completed successfully!<br />
        In order to start working immediately, you have to know the predefined admin's credentials.<br />
        Username: <?php echo $admin['username']; ?><br />
        Password: <?php echo $admin['passwd']; ?>
        <hr />
        Click <a href="admin/login.php">here</a> to log in as administrator and start creating qr-code's URLs!
    </div>
</div>
<?php

    include("./include/install_footer.inc.php");
?>